-
Notifications
You must be signed in to change notification settings - Fork 19
Added Bower configuration and Gruntfile #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…ource version including source-code mapping files.
|
Awesome! |
bower.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for empty stuff
|
Please update your docs because bower complains about camel case notation of package name. It will produce an error Instead use: Also see http://stackoverflow.com/questions/25387908/unable-to-register-bower-package-einvformat |
|
@bennidi - Thanks for the info! I updated the |
Hello,
as promised here are the changes to have your "observableDictionary" as a Bower dependency. This commit includes a Bower package description (bower.json) and a Grunt configuration (package.json & Gruntfile.js).
All you need to do now is installing "node.js" (http://nodejs.org/). If you have "node" then you can install Grunt via the command-line with:
npm install -g grunt-cliand Bower withnpm install -g bower.If you have grunt installed then you should go to your project via command-line and execute:
These two commands will resolve external dependencies (like Knockout). You can then open the
index.htmlfile to see if the needed dependencies have been resolved. :)If you want to create a package for distribution of your plugin, then just run:
Grunt will package your plugin to the "dist" folder including the source files, a minified version and a source-code mapping file. :) If you are happy with that, then just create a new Version of your plugin on GitHub and release it as a Bower package, using:
Feel free to contact me if there are any problems!
More information: